﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace DualControl.Migrations
{
    public partial class add_CompanyInfo : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AccidentType",
                table: "RiskPoints");

            migrationBuilder.DropColumn(
                name: "AccidentType",
                table: "HazardSources");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "AccidentType",
                table: "RiskPoints",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "AccidentType",
                table: "HazardSources",
                nullable: true);
        }
    }
}
